package StudyCode.summary.Basic.mymath;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class CalculatorHypot {
	public static void main(String[] args) {
		System.out.println("(1,1) sqrt(x*x +y*y)值是:" + Math.hypot(1, 1));
		System.out.println("(5,5) sqrt(x*x +y*y)值是:" + Math.hypot(5, 5));
		System.out.println("(10,10) sqrt(x*x +y*y)值是:" + Math.hypot(10, 10));
	}
}
